﻿namespace iTool.Common
{
    public static class iCloud
    {
        /// <summary>
        /// 获取脚本文件物理路径
        /// </summary>
        /// <param name="moduleName"></param>
        /// <returns></returns>
        public static string GetFunctionFilePathByModuleName(string moduleName)
        {
            return $"./CloudFunctions/{moduleName}";
        }

        /// <summary>
        /// 获取脚本文件执行路径
        /// </summary>
        /// <param name="moduleName"></param>
        /// <returns></returns>
        public static string GetFunctionModulePathByModuleName(string moduleName)
        {
            return $"./CloudFunctions/{moduleName}_module";
        }
    }
}
